package sctu.edu.java.year2016.team01.xuhanmei.day20160524.practice4;

/**
 * Created by Administrator on 2016/5/24.
 */
public class Normal1 {
    public static void main(String[] args) {

        String str1 = String.format("%d", 400 / 2);

        String str2 = String.format("%b", 400 > 2);

        String str3 = String.format("%x", 400);

        System.out.println("400的一半是：" + str1);

        System.out.println("400>2?" + str2);

        System.out.println("400的十六进制数是：" + str3);
    }
}
